package org.example.vo;/**
 * @author zyk
 * @create 2024-10-23-9:46:30
 */

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 类描述
 *
 * @author zyk
 * @date 2024-10-23
 **/
@Data
public class EmbeddingVO {

    private List<DataInfo> data;
    private String model;
    private String object;
    private Usage usage;
    @Data
    public static class DataInfo {
        private List<BigDecimal> embedding;
        private int index;
        private String object;

    }
    @Data
    public static class Usage {
        private int promptTokens;
        private int totalTokens;

    }

}
